﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Entities;
using Domain.Service.System;
namespace Infrastructure.System
{
    public class RoleRepository :
        BackgroundRepository<WebManageRoles>,
        IRoleRepository
    {
        public RoleRepository()
        { }

        public RoleRepository(Domain.Core.IUnitOfWork iUnitOfWork)
            : base(iUnitOfWork)
        { }
        #region IRoleRepository 成员

        public IQueryable<WebManageRoles> GetRoles(
            Domain.Core.Specification.ISpecification<WebManageRoles> specification)
        {
            return base.GetEntities(specification);
        }

        #endregion
    }
}
